﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class tintuc : System.Web.UI.Page
{
    Service sv = new Service();
    protected void Page_Load(object sender, EventArgs e)
    {
        string matt = Request.QueryString.Get("matintuc");
        string sql;
        if (matt == null) sql = "select * from tintuc";
        else
            sql = "select * from tintuc where matintuc='" + matt + "'";
        dl_tintuc.DataSource = sv.GetDataTable(sql);
        dl_tintuc.DataBind();
    }
}